package com.jewelry.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jewelry.entity.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
* @author LZL
* @description 针对表【t_product】的数据库操作Mapper
* @createDate 2024-03-21 20:53:04
* @Entity com.jewelry.entity.Product
*/
public interface ProductMapper extends BaseMapper<Product> {
    List<Product> selectBiaJiTuiJia();

    List<Product> selectHotBooks();

    List<Product> selectLessStockBooks();

    List<Product> selectLessPriceBooks();

    Page<Product> selectBuCategory(Page<Product> page, @Param("pId") Integer pId, @Param("cId") Integer cId);
}




